package xju_9_10.mapper;


import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
import xju_9_10.entity.User;

public interface UserMapper {
    @Select("select * from user where username =#{username} and password = #{password}")
    User login(@Param("username") String username,@Param("password") String password);
}
